package cn.hxsteel.storage.model.po;
// Generated 2013-3-6 17:18:37 by Hibernate Tools 3.2.4.GA



/**
 * 出入库单据明细
 */
public class SheetDetailPO  implements cn.hxsteel.storage.model.po.valid.ISheetDetailGroup,java.io.Serializable {


     /**
      * 标识
     */
     private int id;
     /**
      * 仓库标识
     */
     private short depotID;
     /**
      * 商品标识
     */
     private int goodsID;
     /**
      * 数量（入库，为正值；出库，为负值）
     */
     private short number;
     /**
      * 重量（入库，为正值；出库，为负值）
     */
     private float weight;
     /**
      * 统计状态
     */
     private boolean sumState;
     /**
      * 出入库单据的持久对象
     */
     private SheetPO sheet;

    public SheetDetailPO() {
    }

    public SheetDetailPO(short depotID, int goodsID, short number, float weight, boolean sumState, SheetPO sheet) {
       this.depotID = depotID;
       this.goodsID = goodsID;
       this.number = number;
       this.weight = weight;
       this.sumState = sumState;
       this.sheet = sheet;
    }
   
    /**       
     *      * 标识
     */
    public int getId() {
        return this.id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    /**       
     *      * 仓库标识
     */
    public short getDepotID() {
        return this.depotID;
    }
    
    public void setDepotID(short depotID) {
        this.depotID = depotID;
    }
    /**       
     *      * 商品标识
     */
    public int getGoodsID() {
        return this.goodsID;
    }
    
    public void setGoodsID(int goodsID) {
        this.goodsID = goodsID;
    }
    /**       
     *      * 数量（入库，为正值；出库，为负值）
     */
    public short getNumber() {
        return this.number;
    }
    
    public void setNumber(short number) {
        this.number = number;
    }
    /**       
     *      * 重量（入库，为正值；出库，为负值）
     */
    public float getWeight() {
        return this.weight;
    }
    
    public void setWeight(float weight) {
        this.weight = weight;
    }
    /**       
     *      * 统计状态
     */
    public boolean isSumState() {
        return this.sumState;
    }
    
    public void setSumState(boolean sumState) {
        this.sumState = sumState;
    }
    /**       
     *      * 出入库单据的持久对象
     */
    public SheetPO getSheet() {
        return this.sheet;
    }
    
    public void setSheet(SheetPO sheet) {
        this.sheet = sheet;
    }




}


